import request from '@/utils/request'

/* 查询配置*/
export function selectConfig(data) {
  return request({
    url: '/system/config/selectConfig',
    method: 'post',
    data: data
  })
}

/* 修改配置*/
export function updateConfigById(data) {
  return request({
    url: '/system/config/updateConfigById',
    method: 'post',
    data: data
  })
}

/* 初始化配置*/
export function init() {
  return request({
    url: '/system/config/init',
    method: 'post'
  })
}
